Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@bradtraversy
bradtraversy / terminal-commands.md
Last active May 9, 2026 10:16
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
name nextjs-fullstack-builder
description Full-stack project workflow for Next.js (App Router) + MongoDB (Mongoose) + shadcn/ui + Tailwind CSS. Use when: scaffolding a new Next.js project, adding features, creating API routes, defining Mongoose models, styling with shadcn or Tailwind, handling auth, or following best practices for this stack. Triggers: "new project", "next.js", "shadcn", "mongoose", "mongodb", "api route", "server component", "build feature", "fullstack builder".
argument-hint Describe the feature or task to build (e.g. "product CRUD", "auth setup", "data table page")

Next.js + MongoDB + shadcn/ui — Full-Stack Skill

When to Use

  • Scaffolding a new Next.js App Router project from scratch
@humbertoplus
humbertoplus / terminal-commands-macos-linux.md
Last active May 9, 2026 10:14 — forked from ElenaMLopez/consola-linux.md
Comandos de la TERMINAL MAC OS o Linux

Información del sistema

  1. arch: mostrar la arquitectura de la máquina (1).
  2. uname -m: mostrar la arquitectura de la máquina (2).
  3. uname -r: mostrar la versión del kernel usado.
  4. dmidecode -q: mostrar los componentes (hardware) del sistema.
  5. hdparm -i /dev/hda: mostrar las características de un disco duro.
  6. hdparm -tT /dev/sda: realizar prueba de lectura en un disco duro.
  7. cat /proc/cpuinfo: mostrar información de la CPU.
  8. cat /proc/interrupts: mostrar las interrupciones.
@Pythonation
Pythonation / prompt.md
Last active May 9, 2026 10:13
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

Interview Questions

Node.js

Q1: What do you mean by Asynchronous API? ☆☆

Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.

Source: tutorialspoint.com

@zeke
zeke / opencode-hooks.md
Created January 13, 2026 18:10
OpenCode vs Claude Code Hooks Comparison

OpenCode Hooks: A Comparison with Claude Code

OpenCode supports a hooks feature similar to Claude Code, but with a plugin-based architecture that offers more flexibility and programmability.

Overview

Feature Claude Code OpenCode
Primary approach Config-based shell commands Plugin-based TypeScript/JS
Hook execution Bash scripts via JSON config Full SDK access in plugins
@samiraguiar
samiraguiar / MC Cheat Sheet
Last active May 9, 2026 10:08 — forked from maciakl/MC Cheat Sheet
Midnight Commander Cheat Sheet / Shortcuts
Note for newcomers:
In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention
used in the Midnight Commander documentation and was kept here.
You can also use "ESC" instead of "ALT", which is useful on Macbooks.
Main View
---------------------------------------------------------------
- File/directory operations